package com.echartsdata.Entity;

import com.alibaba.fastjson2.annotation.JSONField;

/**
 * @ Author: 凉笙墨染
 * @ CreateTime: 2024-09-25
 */


public class Problem {
    //json数据处理别名,排序
    @JSONField(name = "name",ordinal = 1)
    private String title;
    @JSONField(name = "value",ordinal = 2)
    private String counts;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCounts() {
        return counts;
    }

    public void setCounts(String counts) {
        this.counts = counts;
    }

    @Override
    public String toString() {
        return "Problem{" +
                "title='" + title + '\'' +
                ", counts='" + counts + '\'' +
                '}';
    }
}
